.animation-enter,
.animation-leave-to {
  opacity: 0;
}

.animation-enter-active,
.animation-leave-active {
  transition: opacity 0.3s;
}

@include b(devtool-dialog) {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  /* stylelint-disable-next-line selector-class-pattern */
  &.isShowMask {
    background-color: rgba(var(#{getCssVarName(black)}),0.5);
  }
  @include e(wrapper) {
    display: flex;
    flex-direction: column;
    width: 420px;
    height: 192px;
    background-color: getCssVar('color', 'bg', 1);
    border-radius: 4px;
  }

  @include e(icon) {
    cursor: pointer;

    > svg {
      width: 16px;
      height: 16px;
    }
  }

  @include e(header) {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    padding-bottom: 10px;
    font-size: 18px;
    line-height: 1;
  }

  @include e(content) {
    display: flex;
    justify-content: flex-end;
    height: 100px;
    padding: 10px 15px;
    font-size: 14px;
    color: getCssVar(color, text, 0);
  }

  @include e(footer) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    padding: 5px 15px 0;
  }

  @include e(footer-button) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 32px;
    padding: 5px 11px;
    margin-right: 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: getCssVar(color, primary, text);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    appearance: none;
    cursor: pointer;
    user-select: none;
    background-color: getCssVar(color, primary);
    border: 1px solid transparent;
    border-color: getCssVar(color, border);
    border-radius: 4px;
    outline: 0;
    transition: 0.1s;
  }
}
